package com.aaa.cars.service;

import com.aaa.common.bo.OperLog;
import com.aaa.common.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * fileName:RemoteOperLogService
 * description:  远程调用操作日志服务
 * author: LJV
 * createTime:2020/12/15 14:38
 * version:1.0.0
 */
@FeignClient("contentService")
public interface RemoteOperLogService {

    @PostMapping("/operLog/insert")
    Result insert(@RequestBody OperLog operLog);
}
